package com.example.service.impl;

import com.example.dao.RoleDao;
import com.example.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RoleServiceImpl implements RoleService {

    @Autowired
    private RoleDao roleDao;

    @Override
    public void addRole() {
        System.out.println("计算或判断");
        roleDao.addRole();
    }
}
